package com.sss.hloster0201;

public class Point {
	private int x;
	private int y;
    
    public Point() {
		super();
	}
    
	
    public Point(int x0, int y0) {
		
		this.x = x0;
		this.y = y0;
	}


	public void   movePoint(int dx,int dy) {
    	System.out.println("x 轴移动后的坐标为："+(dx+x)+"   y 轴移动后的坐标为："+(dy+y));
    }


	public int getX() {
		return x;
	}


	public void setX(int x) {
		this.x = x;
	}


	public int getY() {
		return y;
	}


	public void setY(int y) {
		this.y = y;
	}
	
}
